export default {
  props: {
    level: {
      type: Number
    }
  },
  render() {
    // return h(`h${this.level}`, [this.$slots.default])
    const tag = `h${this.level}`
    return (
      <tag>
        <span>{this.$slots.default}</span>
      </tag>
    )
  }
}

/*
  Vue 中书写 jsx
  https://github.com/vuejs/babel-plugin-transform-vue-jsx
*/
